package com.wnnight.wys.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * @ClassName: NoticeVo
 * @Description: 前端传来notice数据
 * @author: xjh
 * @date: 2022/8/29-16:22
 * @version: v1.0
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class NoticeVo {
    private Integer id;
    private String title;
    private Integer typeId;
    private String urgency;
    private String contentType;
    private Date createTime;//添加时默认为当前时间
    private Integer readCount;//添加时默认为0
    private String content;
    private String status;
    private Integer staffId;
    private String img;
    private String video;
    private Integer pageNum;
    private Integer pageSize;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date startDate;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date endDate;
    private String jwt;
}
